package com.sjl.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sjl.entity.Sections;
import com.sjl.mapper.SectionsMapper;
import com.sjl.service.SectionsService;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * service实现层
 * @author 宋嘉霖
 *
 */
@Service
public class SectionsServiceImpl extends ServiceImpl<SectionsMapper, Sections> implements SectionsService {
    @Resource
    private SectionsMapper sectionsMapper;

    public IPage<Sections> selectByMemPage(Page<Sections> page, Sections sections) {
        return sectionsMapper.selectByMemPage(page, sections);
    }
}
